package main

import (
	"821/config"
	"821/inits"
	"821/route"
	"github.com/gin-gonic/gin"
)

func main() {
	router := gin.Default()
	config.InitConfig()
	inits.InitMysql()
	inits.InitRedis()
	route.Routes(router)
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
